home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
STUTTGART
/
LANG
/
C
/
DEBUG
/
BUGVIEW
/
_files
/
_BugView
/
_Help
next >
Wrap
Text File
|
1991-04-10
|
3KB
|
61 lines
!BugView 0.50
-------------
© Nicko van Someren April 5th 1991
!BugView is a desktop application to help with the debugging of other
desktop applications by allowing an on screen trace facility.
The application itself provides an output window into which the users
output may be sent. The window is scrollable and the contents can be
cleared or saved. The window can be hidden by clicking on the close icon
and retrived or brought to the top by click on the icon bar icon.
The buglib.o library provides one call, the prototype is in buglib.h,
called buglib_message(). It takes the same parameters as printf() i.e.
a format string followed by a list of parameters. The opperands are
passed through sprintf and the result is broadcast as a wimp message.
If the !BugView application is running it will pick up the broadcast and
put the enclosed message into the window on screen.
Note that the messages are not recived by the !BugView application until
the next time the sending application calls wimp_poll, so if the program
is crashing totally some messages that were sent before the crash may not
get displayed. However a posiyave side effect is that if messages are sent
inside a redraw routine no new activity happens on screen until after the
redraw is compleat.
Version 0.60
------------
A stop option has been added to the main menu. This stops the application
from accepting any more debug messages until the stop is switched off.
While stopped the title of the window changes from message 'title:'
("Debug output") to messages 'titles:' ("Debug output (stopped)"). While
stopped the output window will not automaticly come up when a message is sent.
Version 0.61
------------
Bug fix: Now passes on Function key presses for hot keys
Version 0.65
------------
Fixed to stop the debug window steeling the caret every time it prints
something. Still not perfect because it appears the txt library needs
to take the caret in order to open the window first time around.
Also fixed to attempt to return space to free pool when the viewer is
cleared.
The copyright of all code in this system remains with the author.
It may be used and distributed for non-profit activities as long as all
the files are intact and retain there copyright messages. If you want
to use it to work on commercial applications then send me a cheque for
10 quid and I will make sure you get an up to date copy incase I have
made changes.
Nicko van Someren
Trinity College
Cambridge
CB2 1TQ
England
nbvs@cl.cam.ac.uk